Update sendemail-validate hook with appropriate checks and stage all … #49
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: Deploy Open5GS To Fly.io | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Flyctl | |
run: | | |
curl -L https://fly.io/install.sh | sh | |
echo 'export FLYCTL_INSTALL="$HOME/.fly"' >> $GITHUB_ENV | |
echo 'export PATH="$FLYCTL_INSTALL/bin:$PATH"' >> $GITHUB_ENV | |
shell: bash | |
- name: Deploy to Fly.io | |
run: flyctl launch --auto-confirm --image open5gs/open5gs:latest | |
env: | |
FLY_APP_NAME: AstraLink_OPEN_5GS | |
FLY_ENV_NAME: production |