Add election of the airdropped token #423
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DB Migration - Mainnet (Auto) | |
on: | |
pull_request: | |
branches: | |
- develop | |
types: | |
- closed | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
db-migration: | |
if: github.event.pull_request.merged == true | |
runs-on: powerfulubuntu | |
environment: mainnet | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: ap-southeast-2 | |
role-to-assume: ${{ secrets.FLU_AWS_GITHUB_OIDC_ROLE }} | |
role-duration-seconds: 7200 #seconds | |
- name: DB Migration | |
uses: ./scripts/actions | |
with: | |
command: | | |
flu migrate-db \ | |
--network all \ | |
--environment mainnet \ | |
--tag $GITHUB_SHA |