Improve text in install section #13
This file contains hidden or 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: Sync with GESIS GitLab | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| Explore-GitHub-Actions: | |
| if: github.repository == 'rgaiacs/rse-podman-tutorial' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Create remote | |
| run: | | |
| if [ -z "$(git remote | grep gesis)" ] | |
| then | |
| git remote add gesis https://git.gesis.org/rse/podman/learn/podman-desktop.git | |
| fi | |
| - name: Update remote | |
| env: | |
| GIT_TOKEN: ${{ secrets.GESIS_GITLAB_TOKEN }} | |
| run: | | |
| git remote set-url gesis https://bot:${GIT_TOKEN}@git.gesis.org/rse/podman/learn/podman-desktop.git | |
| - name: Push main | |
| run: | | |
| git push gesis ${GITHUB_SHA}:main |