Skip to content

Commit b7ffa82

Browse files
authored
Merge pull request #93 from cynicsketch/main
Merge in mirroring GitHub action
2 parents 3aca938 + 395384c commit b7ffa82

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches:
10+
- '**'
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+
jobs:
14+
# This workflow contains a single job called "build"
15+
build:
16+
# The type of runner that the job will run on
17+
runs-on: ubuntu-latest
18+
19+
# Steps represent a sequence of tasks that will be executed as part of the job
20+
steps:
21+
- uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 0
24+
- name: mirror-repository
25+
# You may pin to the exact commit or the version.
26+
# uses: yesolutions/mirror-action@1708f16cdb28634fd3ba10c5c79abc91f5578a14
27+
uses: cynicsketch/[email protected]
28+
with:
29+
REMOTE: 'ssh://[email protected]/cynicsketch/nix-mineral.git'
30+
GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_PRIVATE_KEY }}
31+
GIT_SSH_KNOWN_HOSTS: ${{ secrets.GIT_SSH_KNOWN_HOSTS }}

0 commit comments

Comments
 (0)