Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/auto deploy cleanup #2

Merged
merged 9 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/eosMain.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: EOS MainNet - Deploy Production
on:
push:
branches:
- master
- feature/deploy-with-github-actions

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/pangea-testnet-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Pangea Testnet - Deploy

on:
push:
branches:
- feature/deploy-with-github-actions
- feature/pangea_testnet

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
3 changes: 1 addition & 2 deletions .github/workflows/prod.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Deploy Production
on:
push:
branches:
- master

- feature/deploy-with-github-actions
jobs:
deploy:
name: deploy
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/telosMain.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Telos MainNet - Deploy Production
on:
push:
branches:
- master
- feature/deploy-with-github-actions
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/telosTestNet.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- develop
- feature/deploy-with-github-actions

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
Loading