Update package.json #70
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: Mirror to Gitlab | |
on: | |
push: | |
branches: | |
- master | |
- 'gh-pages' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Mirror to GitLab and do the rest | |
# You may pin to the exact commit or the version. | |
# uses: SvanBoxel/gitlab-mirror-and-ci-action@13f58d2ae6e838d2b8a446f55afa5d69ad7ab0d2 | |
uses: SvanBoxel/[email protected] | |
with: | |
args: "https://gitlab.cd.xsio.cn/prism/ui-icons" | |
env: | |
GITLAB_HOSTNAME: "gitlab.cd.xsio.cn" | |
GITLAB_USERNAME: "xiao.xu" | |
GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} | |
GITLAB_PROJECT_ID: "1276" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} // https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret |