Skip to content

add workflow dispatch so we can trigger deploy manually #3

add workflow dispatch so we can trigger deploy manually

add workflow dispatch so we can trigger deploy manually #3

name: Pangea Testnet - Deploy1
on:
push:
branches:
- feature/deploy-with-github-actions
- feature/pangea_testnet
workflow_dispatch

Check failure on line 8 in .github/workflows/pangea-testnet-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pangea-testnet-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SLS_ORG_TOKEN: ${{secrets.SLS_ORG_TOKEN}}
chainId: ${{ vars.CHAIN_ID }}
sendGridKey: ${{ secrets.SENDGRID_KEY }}
twilioAccountSid: ${{ secrets.TWILIO_ACCOUNT_SID }}
twilioAuthToken: ${{ secrets.TWILIO_AUTH_TOKEN }}
eosHistoryEndpoint: ${{vars.HISTORY_ENDPOINT}}
eosHttpEndpoint: ${{vars.HTTP_ENDPOINT}}
authVerifier: TABLE
authContract: login.hypha
authRetries: 5
startAuthTimeout: 1000
minAuthTimeout: 400
authCodeMinutesTTL: 5
accessTokenMinutesTTL: 1440
refreshTokenMinutesTTL: 11520
sentryDsn: ${{secrets.SENTRY_DSN}}
jobs:
deploy:
name: deploy
environment: pangeaTestnet
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: serverless deploy
uses: serverless/github-action@v3.1
with:
args: deploy --stage pangeaTest --region us-east-1