aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-05-29 18:21:51 +0300
committerValentin Popov <valentin@popov.link>2024-05-29 18:21:51 +0300
commitfa7ddc0cbb4026aff9039755170e03320a0ac034 (patch)
tree0512d8229ab1664924d7440cdfc546b66c37ac27 /.github/workflows
parentf4293701c07fcbeee528d1872a06f8a0261790f3 (diff)
downloadleetcode-master.tar.xz
leetcode-master.zip
Added mirrorHEADmaster
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..5367cc0
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,17 @@
+name: Workflow
+
+on: [push]
+
+jobs:
+ mirror:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - uses: yesolutions/mirror-action@master
+ with:
+ REMOTE: 'https://git.popov.link/leetcode.git'
+ GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
+ GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}