Skip to content

Commit

Permalink
chore: disable actions
Browse files Browse the repository at this point in the history
  • Loading branch information
moroine committed Nov 23, 2023
1 parent a095973 commit 26649d7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Deploy Preview
on:
issue_comment:
types: [created]
# __TEMPLATE_UPDATE__: Uncomment issue_comment section and remove empty array
[]
# issue_comment:
# types: [created]

jobs:
debug:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/preview_cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Clean Previews
on:
schedule:
- cron: "0 0 * * *"
# __TEMPLATE_UPDATE__: Uncomment schedule section and remove empty array
[]
# schedule:
# - cron: "0 0 * * *"

concurrency:
group: ${{ github.workflow }}
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,18 @@ jobs:
id: get-version
run: echo "VERSION=$(git describe --tags --abbrev=0 | cut -c2-)" >> "$GITHUB_OUTPUT"

deploy:
concurrency:
group: "deploy-${{ github.workflow }}-${{ github.ref }}"
needs: ["release"]
name: Deploy ${{ needs.release.outputs.VERSION }} on recette
uses: "./.github/workflows/_deploy.yml"
with:
environment: recette
app_version: ${{ needs.release.outputs.VERSION }}
secrets:
DEPLOY_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
DEPLOY_PASS: ${{ secrets.DEPLOY_PASS }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
VAULT_PWD: ${{ secrets.VAULT_PWD }}
# __TEMPLATE_UPDATE__: Uncomment following job
# deploy:
# concurrency:
# group: "deploy-${{ github.workflow }}-${{ github.ref }}"
# needs: ["release"]
# name: Deploy ${{ needs.release.outputs.VERSION }} on recette
# uses: "./.github/workflows/_deploy.yml"
# with:
# environment: recette
# app_version: ${{ needs.release.outputs.VERSION }}
# secrets:
# DEPLOY_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
# DEPLOY_PASS: ${{ secrets.DEPLOY_PASS }}
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# VAULT_PWD: ${{ secrets.VAULT_PWD }}
3 changes: 3 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
fileignoreconfig:
- filename: .github/workflows/release.yml
checksum: 3d0ae5f153aa5f1b1dc1bfc708939728012d6cb558cc8bd715e397013bc9f56b
scopeconfig:
- scope: node
custom_patterns:
Expand Down

0 comments on commit 26649d7

Please sign in to comment.