Skip to content

Instantly share code, notes, and snippets.

@MillerAdulu
Forked from jesseshieh/gigalixir.yml
Created October 23, 2021 06:19
Show Gist options
  • Save MillerAdulu/9ff03987967e04079951548cfc31660b to your computer and use it in GitHub Desktop.
Save MillerAdulu/9ff03987967e04079951548cfc31660b to your computer and use it in GitHub Desktop.
on:
pull_request:
types: [closed]
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v1
- run: sudo pip install gigalixir --ignore-installed six
- run: gigalixir login -e "${{ secrets.GIGALIXIR_EMAIL }}" -y -p "${{ secrets.GIGALIXIR_PASSWORD }}"
- run: gigalixir git:remote ${{ secrets.GIGALIXIR_APP_NAME }}
- run: git push -f gigalixir HEAD:refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment