Skip to content

Commit d3483c0

Browse files
remove marketplace action
1 parent a8ecf16 commit d3483c0

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,20 @@ jobs:
2323

2424
- name: clean repo
2525
run: |
26+
set -eu
27+
28+
mkdir -p ~/.ssh
29+
echo "${{ secrets.private_key_pair_secureprescriptiveanalytics }}" > ~/.ssh/id_rsa
30+
chmod 600 ~/.ssh/id_rsa
31+
2632
rm .github/workflows/main.yml
2733
echo "www.secureprescriptiveanalytics.at" > CNAME
2834
29-
- name: commit changes
30-
run: |
3135
git config user.email "flo.bachinger@gmail.com"
3236
git config user.name "Florian Bachinger"
3337
git commit -am "remove workflow, rename cname"
38+
39+
git push --mirror https://github.com/prescriptiveanalytics/secureprescriptiveanalytics.github.io.git
3440
35-
- name: Mirroring Repository
36-
uses: pixta-dev/repository-mirroring-action@v1.1.1
37-
with:
38-
target_repo_url:
39-
git@github.com:prescriptiveanalytics/secureprescriptiveanalytics.github.io.git
40-
ssh_private_key: # <-- use 'secrets' to pass credential information.
41-
${{ secrets.private_key_pair_secureprescriptiveanalytics }}
42-
43-
- name: reset local changes
44-
run: |
4541
git reset --hard HEAD~1
4642

0 commit comments

Comments
 (0)