development #1
@@ -10,7 +10,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup SSH agent and deploy to web
|
||||
if: GITHUB_REF_NAME == 'main'
|
||||
if: GITEA.REF_NAME == 'main'
|
||||
run: |
|
||||
eval "$(ssh-agent -s)"
|
||||
mkdir -p ~/.ssh
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
SSH_WEBSITE_LOCATION: ${{ secrets.SSH_WEBSITE_LOCATION }}
|
||||
|
||||
- name: Setup SSH agent and deploy to development
|
||||
if: GITHUB_REF_NAME == 'development'
|
||||
if: GITEA.REF_NAME == 'development'
|
||||
run: |
|
||||
eval "$(ssh-agent -s)"
|
||||
mkdir -p ~/.ssh
|
||||
|
||||
Reference in New Issue
Block a user