Skip to content

changed link asthetic #16

changed link asthetic

changed link asthetic #16

Workflow file for this run

name: Sync Workflow Files to strongdog2 Master Branch
on:
push:
branches:
- master
paths:
- 'winner.html'
- 'swf.html'
- 'strongdog.webp'
- 'robots.txt'
- 'intro.html'
- 'index.html'
- 'html.html'
- 'favs.html'
- 'ads.txt'
- 'about.html'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
# Checkout the source repository (jman1593.github.io) on the master branch
- name: Checkout Source Repository (master branch)
uses: actions/checkout@v3
with:
repository: jman1593/jman1593.github.io
ref: master # Specify the master branch
path: source
# Checkout the destination repository (strongdog2) on the master branch
- name: Checkout Destination Repository (master branch)
uses: actions/checkout@v3
with:
repository: jman1593/strongdog2
ref: master # Specify the master branch
path: destination
token: ${{ secrets.TOKEN }}
# Copy the specified files from source to destination
- name: Copy Files
run: |
cp -r source/winner.html destination/
cp -r source/swf.html destination/
cp -r source/strongdog.webp destination/
cp -r source/robots.txt destination/
cp -r source/intro.html destination/
cp -r source/index.html destination/
cp -r source/html.html destination/
cp -r source/favs.html destination/
cp -r source/ads.txt destination/
cp -r source/about.html destination/
# Commit and push the changes to the destination repository (master branch)
- name: Commit and Push Changes
run: |
cd destination
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add winner.html swf.html strongdog.webp robots.txt intro.html index.html html.html favs.html ads.txt about.html
git commit -m "Sync files from jman1593.github.io (master branch)"
git push origin master # Push to the master branch