Skip to content
Snippets Groups Projects
Commit 1424f4d3 authored by Bjørn Tore Lødding's avatar Bjørn Tore Lødding
Browse files

Add new file

parent e4463a15
No related branches found
No related tags found
No related merge requests found
Pipeline #30751 canceled
stages:
- sync
sync_to_github:
stage: sync
script:
# Sett opp Git-konfigurasjon
- git config --global user.email "gitlab@example.com"
- git config --global user.name "GitLab CI"
# Legg til GitHub som en remote
- git remote add github https://oauth2:${GITHUB_TOKEN}@github.com/brukernavn/github-repo.git
# Pushe endringer til GitHub
- git push github --all
- git push github --tags
only:
- main # Velg branch(er) som skal trigge sync
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment