added double quotes around url #40
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: Continous Deployment on "main" branch | |
# Check if files have been pushed to ./examples | |
on: | |
push: | |
paths: | |
- python/** | |
- curl/** | |
- sample_scripts/** | |
jobs: | |
build: | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.8'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install repo-gist-sync | |
run: pip install repo-gist-sync | |
- name: Use repo-gist-sync CLI on "python" directory | |
run: gistdirsync --auth-token ${{ secrets.GIST_TOKEN }} --directory ./python/ | |
- name: Use repo-gist-sync CLI on "curl" directory | |
run: gistdirsync --auth-token ${{ secrets.GIST_TOKEN }} --directory ./curl/ | |
- name: Use repo-gist-sync CLI on "sample_scripts" directory | |
run: gistdirsync --auth-token ${{ secrets.GIST_TOKEN }} --directory ./sample_scripts/ |