Skip to content

Commit a45bf26

Browse files
committed
Deploying to the new server
1 parent fb4acf1 commit a45bf26

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@ jobs:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}
2424
path-to-lcov: ./packages/creepyface/coverage/lcov.info
2525
base-path: ./packages/creepyface
26-
- name: Build Docker Image
27-
uses: 4lejandrito/build-docker-image-action@main
28-
- name: Test Docker Image
29-
run: yarn workspace creepyface-site test:docker
3026
- name: Deploy Docker Image
3127
if: github.ref == 'refs/heads/master'
32-
uses: 4lejandrito/deploy-docker-image-action@main
28+
uses: 4lejandrito/cloud-deploy-action@main
3329
with:
34-
key: ${{ secrets.SSH_PRIVATE_KEY }}
35-
prune-gh-pat: ${{ secrets.PRUNE_GITHUB_TOKEN }}
30+
test-command: yarn workspace creepyface-site test:docker
31+
token: ${{ secrets.DEPLOY_GITHUB_TOKEN }}

cloud.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
domain: creepyface.io
2+
port: 5000
3+
volume: /usr/src/app/.data

0 commit comments

Comments
 (0)