Skip to content

Commit

Permalink
Merge dependabot/github_actions/github/branch-deploy-7.2.0 into combi…
Browse files Browse the repository at this point in the history
…ned-prs-branch
  • Loading branch information
the-hideout-combine-prs[bot] authored Aug 5, 2023
2 parents e52f287 + 798a9bb commit 2db7c82
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- name: branch-deploy
id: branch-deploy
uses: github/branch-deploy@v7.1.0
uses: github/branch-deploy@v7.2.0
with:
admins: the-hideout/core-contributors
admins_pat: ${{ secrets.BRANCH_DEPLOY_ADMINS_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: deployment check
uses: github/branch-deploy@v7.1.0
uses: github/branch-deploy@v7.2.0
id: deployment-check
with:
merge_deploy_mode: "true" # tells the Action to use the merge commit workflow strategy
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/restart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: restart

on:
workflow_dispatch:
schedule:
- cron: '0 */6 * * *' # runs every 6 hours at minute 0

permissions:
contents: read

jobs:
restart:
runs-on: ubuntu-latest
environment: production

steps:
- name: checkout
uses: actions/[email protected]

- uses: actions/[email protected]
with:
node-version-file: .node-version
cache: 'npm'

- name: install dependencies
run: npm install

# This command effectively restarts the app
- name: restart railway app
run: npm run deploy
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/unlock-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: unlock on merge
uses: github/branch-deploy@v7.1.0
uses: github/branch-deploy@v7.2.0
id: unlock-on-merge
with:
unlock_on_merge_mode: "true" # <-- indicates that this is the "Unlock on Merge Mode" workflow
Expand Down

0 comments on commit 2db7c82

Please sign in to comment.