Skip to content

Merge pull request #84 from mgziminsky/dependabot/submodules/webexten… #37

Merge pull request #84 from mgziminsky/dependabot/submodules/webexten…

Merge pull request #84 from mgziminsky/dependabot/submodules/webexten… #37

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: Mirror to Gitlab
on:
workflow_dispatch:
push:
branches: [master]
jobs:
mirror:
name: Mirror
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup SSH
env:
GITLAB_PUSH_KEY: ${{ secrets.GITLAB_PUSH_KEY }}
run: |
mkdir -p ~/.ssh/
chmod 700 ~/.ssh/
echo "$GITLAB_PUSH_KEY" > ~/.ssh/push_key
chmod 400 ~/.ssh/push_key
- name: Push to Gitlab
env:
GIT_SSH_COMMAND: ssh -v -i ~/.ssh/push_key -o IdentitiesOnly=yes -o StrictHostKeyChecking=no
run: git push --force --all --prune git@gitlab.com:mgziminsky/FacebookTrackingRemoval.git