Skip to content

Commit

Permalink
cd: ?
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Oct 30, 2023
1 parent dd67e44 commit 5b7a5cd
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,30 @@ jobs:
run: pnpm build

deploy:
- name: Checkout
uses: actions/checkout@v3
name: "deploy"
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Connect deploy key
uses: cloudtype-github-actions/connect@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
ghtoken: ${{ secrets.GHP_TOKEN }}
- name: Connect deploy key
uses: cloudtype-github-actions/connect@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
ghtoken: ${{ secrets.GHP_TOKEN }}

- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: pleahmacaka/ait
stage: main
yaml: |
name: front
app: node@18
options:
env:
- name: Deploy
uses: cloudtype-github-actions/deploy@v1
with:
token: ${{ secrets.CLOUDTYPE_TOKEN }}
project: pleahmacaka/ait
stage: main
yaml: |
name: front
app: node@18
options:
env:
- name: NODE_ENV
value: production
ports: "4173"
Expand Down

0 comments on commit 5b7a5cd

Please sign in to comment.