Skip to content

Commit

Permalink
TO BE REVERTED: Test of deployment without checking if from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
ctmbl committed May 4, 2024
1 parent 5b22c95 commit 509bdd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# If for any reason you want to trigger this step on your fork remove the following line,
# trigger manually or open an issue https://github.com/iScsc/blog.iscsc.fr/issues,
# we'll find a better way to skip this step.
if: ${{ (github.event_name == 'push' && github.event.repository.fork == 'false') || github.event_name == 'workflow_dispatch' }}
if: ${{ (github.event_name == 'push') || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- name: 🛠️ Setup build directory
Expand All @@ -83,6 +83,7 @@ jobs:
- name: 🔑 Populate Key
run: |
echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa
exit 1
# Upload the build to the remote server location: the volume shared by the nginx container serving http requests
- name: 🚀 Upload
Expand Down

0 comments on commit 509bdd7

Please sign in to comment.