re-enabling CD
This commit is contained in:
parent
55364a67ee
commit
c24f63abfe
38
.github/workflows/ci.yml
vendored
38
.github/workflows/ci.yml
vendored
@ -116,25 +116,25 @@ jobs:
|
|||||||
images: sarsoo/overflow:${{ github.ref_name }}-amd64,sarsoo/overflow:${{ github.ref_name }}-arm64
|
images: sarsoo/overflow:${{ github.ref_name }}-amd64,sarsoo/overflow:${{ github.ref_name }}-arm64
|
||||||
push: true
|
push: true
|
||||||
|
|
||||||
# deploy:
|
deploy:
|
||||||
|
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# name: Deploy
|
name: Deploy
|
||||||
# needs: [build-Docker] # for ignoring bad builds
|
needs: [packageManifest] # for ignoring bad builds
|
||||||
# if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
|
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
|
||||||
# environment:
|
environment:
|
||||||
# name: prod
|
name: prod
|
||||||
# url: https://overflow.sarsoo.xyz
|
url: https://overflow.sarsoo.xyz
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# - name: Tailscale
|
- name: Tailscale
|
||||||
# uses: tailscale/github-action@v2
|
uses: tailscale/github-action@v2
|
||||||
# with:
|
with:
|
||||||
# oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
||||||
# oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
|
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
|
||||||
# tags: tag:ci
|
tags: tag:ci
|
||||||
# version: 1.80.3
|
version: 1.80.3
|
||||||
|
|
||||||
# - name: Deploy
|
- name: Deploy
|
||||||
# run: ssh -o StrictHostKeyChecking=no ${{ secrets.TS_SSH }} -t "cd overflow/ && docker compose up -d --pull always"
|
run: ssh -o StrictHostKeyChecking=no ${{ secrets.TS_SSH }} -t "cd overflow/ && docker compose up -d --pull always"
|
Loading…
x
Reference in New Issue
Block a user