chore: rename workflows

This commit is contained in:
zkldi
2022-07-15 19:18:48 +01:00
parent ecfd2e1e5b
commit ad492da4d5
4 changed files with 13 additions and 11 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
name: Bot Build & Push
name: Bot CI/CD
on:
push:
branches:
branches:
- "release/*"
paths:
- "bot/**"
- "common/**"
workflow_dispatch:
jobs:
docker-push:
runs-on: ubuntu-latest
@@ -18,13 +18,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker Hub login
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Version tag
run: 'echo "VERSION_TAG=$(cat package.json | grep version | head -1 | awk -F: ''{ print $2 }'' | sed ''s/[", ]//g'')" >> $GITHUB_ENV'
+4 -4
View File
@@ -1,15 +1,15 @@
name: Client Deploy
name: Client CI/CD
on:
push:
branches:
branches:
- "staging"
- "release/*"
paths:
- "client/**"
- "common/**"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
username: tachi
key: ${{ secrets.TACHI_KEY }}
script: tachi-client-deploy -s
- name: Deploy to live
if: startsWith(github.ref, 'refs/heads/release')
uses: appleboy/ssh-action@1a8b3784eaa665f677fa114edd5683bb6a6bfaa8
+3 -1
View File
@@ -1,4 +1,4 @@
name: Update Database-Seeds
name: Database-Seeds CI/CD
on:
push:
@@ -43,6 +43,7 @@ jobs:
run: pnpm test
env:
NODE_ENV: "test"
deploy:
runs-on: ubuntu-latest
needs: [test]
@@ -56,6 +57,7 @@ jobs:
username: tachi
key: ${{ secrets.TACHI_KEY }}
script: tachi-database-sync -s
- name: Sync Live Database
if: startsWith(github.ref, 'refs/heads/release')
uses: appleboy/ssh-action@1a8b3784eaa665f677fa114edd5683bb6a6bfaa8
+1 -1
View File
@@ -1,4 +1,4 @@
name: Server Test, Build, & Deploy
name: Server CI/CD
on:
push: