Regenerate package-lock.json #46
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: Mirror to GitLab | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to GitLab | |
| run: | | |
| git remote add gitlab https://$GITLAB_USERNAME:$GITLAB_TOKEN@gitlab.gnome.org/Teams/Websites/fa.gnome.org.git | |
| git push --prune gitlab 'refs/heads/*:refs/heads/*' 'refs/tags/*:refs/tags/*' | |
| env: | |
| GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }} | |
| GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} |