-
-
Save jesseshieh/7b231370874445592a40bf5ed6961460 to your computer and use it in GitHub Desktop.
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
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 |
Right. In this case, it's using a cli command to login so nothing needs to be escaped. It would need to be escaped if you used it in a git remote url.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just to be clear, there's no need to url escape your username as mentioned in the docs for gigalixir as in reference to the travis ci example right?