Skip to content

Commit

Permalink
chore: update workflows to trigger CodeQL on push to main and remove …
Browse files Browse the repository at this point in the history
…script_stop from deploy jobs
  • Loading branch information
vincentauger committed Dec 2, 2024
1 parent 6aa23db commit ed78cb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
name: CodeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ jobs:
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
envs: RELEASE_PATH,ACTIVE_RELEASE_PATH,STORAGE_PATH,BASE_PATH
script_stop: true
script: |
cd /var/www/${{secrets.SERVER}}/html/releases/${{github.sha}}
ln -s -f $BASE_PATH/.env $RELEASE_PATH
Expand Down Expand Up @@ -153,7 +152,6 @@ jobs:
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_SSH_KEY }}
envs: RELEASE_PATH,ACTIVE_RELEASE_PATH,STORAGE_PATH,BASE_PATH
script_stop: true
script: |
cd /var/www/${{secrets.SERVER}}/html/releases/${{github.sha}}
ln -s -f $BASE_PATH/.env $RELEASE_PATH
Expand Down

0 comments on commit ed78cb2

Please sign in to comment.