name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Gadget CLI
run: |
npm install -g ggt@latest
ggt version
- name: Deploy to production.
run: |
ggt deploy --app=my-app --env=development --force --allow-unknown-directory
shell: bash
env:
GGT_TOKEN: ${{ secrets.GGT_TOKEN }}
name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Gadget CLI
run: |
npm install -g ggt@latest
ggt version
- name: Deploy to production.
run: |
ggt deploy --app=my-app --env=development --force --allow-unknown-directory
shell: bash
env:
GGT_TOKEN: ${{ secrets.GGT_TOKEN }}