Skip to content

Improved the description and added a sitemap #12

Improved the description and added a sitemap

Improved the description and added a sitemap #12

Workflow file for this run

name: GitLab
on:
push:
branches:
- master
tags:
- '*'
jobs:
Sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync to GitLab
env:
GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }}
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
GITLAB_REPO: ${{ secrets.GITLAB_REPO }}
GITLAB_EMAIL: ${{ secrets.GITLAB_EMAIL }}
GITLAB_NAME: ${{ secrets.GITLAB_NAME }}
run: |
git config user.name "$GITLAB_NAME"
git config user.email "$GITLAB_EMAIL"
git remote add gitlab https://$GITLAB_USERNAME:$GITLAB_TOKEN@$GITLAB_REPO
git checkout master
git fetch -q gitlab master 2>&1 | sed "s|https://$GITLAB_REPO|https://***|g"
git rebase gitlab/master
git push gitlab master --tags 2>&1 | sed "s|https://$GITLAB_REPO|https://***|g"