Skip to content

Commit

Permalink
Updates everything to latest
Browse files Browse the repository at this point in the history
Adds zCloud deploy action
  • Loading branch information
filipenevola committed Mar 15, 2024
1 parent 0eb2da1 commit a238218
Show file tree
Hide file tree
Showing 6 changed files with 1,464 additions and 658 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#name: Deploy
#on:
# push:
# branches: ['main']
#jobs:
# deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: Install Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20.x'
#
# - name: Install Dependencies
# run: |
# npm i
#
# - name: Run Check
# run: |
# npm run build
#
# - uses: actions/checkout@v4
# - name: Deploy
# uses: zcloud-ws/zcloud-deploy-action@main
# with:
# # Add your ZCLOUD_USER_TOKEN to your repository secrets
# user-token: ${{ secrets.ZCLOUD_USER_TOKEN }}
# env: "your-app-env-name"
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Create your account at [zcloud.ws](https://zcloud.ws).
Connect to your GitHub, create your app and done!

Push to Deploy.

Or use the preconfigured [action](./.github/workflows/deploy.yaml) to deploy your app. Uncomment all the lines and add your zCloud User Token (ZCLOUD_USER_TOKEN) to your secrets on GitHub and replace `env` placeholder value with your app env name (check it on app.zcloud.ws > Your app env > Settings).
Loading

0 comments on commit a238218

Please sign in to comment.