We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stable
1 parent a68d8dc commit 7675c83Copy full SHA for 7675c83
1 file changed
.github/workflows/deploy.yml .github/workflows/release.yml.github/workflows/deploy.yml renamed to .github/workflows/release.yml
@@ -1,15 +1,12 @@
1
-name: Deploy
+name: Release
2
on:
3
- push:
4
- branches:
5
- - 'stable'
6
- workflow_dispatch:
+ release:
+ types: [published]
7
8
jobs:
9
prod:
10
- name: Production
+ name: Deploy production
11
runs-on: ubuntu-20.04
12
- if: github.ref == 'refs/heads/stable'
13
14
steps:
15
- uses: actions/checkout@v3
@@ -21,3 +18,13 @@ jobs:
21
18
- run: npm run deploy:prod -- -r https://git:${DEPLOYMENT_PAT}@github.com/thetolproject/thetolproject.github.io.git -u "${GITHUB_ACTOR} <${GITHUB_ACTOR}@users.noreply.github.com>"
22
19
env:
23
20
DEPLOYMENT_PAT: ${{ secrets.DEPLOYMENT_PAT }}
+
+ tags:
+ name: Update tags
24
+ runs-on: ubuntu-20.04
25
26
+ steps:
27
+ - uses: actions/checkout@v3
28
+ - uses: EndBug/latest-tag@v1
29
+ with:
30
+ ref: stable
0 commit comments