Make CdQ & S #633
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Copy Shared Files | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
wait: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sleep for 360 seconds (6 mins) | |
run: sleep 360s | |
shell: bash | |
Copy_includes: | |
needs: wait | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy _includes | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/_includes/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_sass: | |
needs: Copy_includes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy _sass | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/_sass/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_assets: | |
needs: Copy_sass | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy assets | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/assets/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_fonts: | |
needs: Copy_assets | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy fonts | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/fonts/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Post_Layout: | |
needs: Copy_fonts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy Post Layout | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/_layouts/post.html' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/_layouts/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Page_Layout: | |
needs: Copy_Post_Layout | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy Page Layout | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/_layouts/page.html' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/_layouts/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Shared_Pages: | |
needs: Copy_Page_Layout | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy Shared Pages | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/_pages/Shared Content/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/_pages/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Shared_Posts: | |
needs: Copy_Shared_Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy Shared Posts | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/_posts/Shared Content/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/_posts/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Shared_Images: | |
needs: Copy_Shared_Posts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy Shared Posts | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/images/Shared Content/' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/images/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_404: | |
needs: Copy_Shared_Images | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy 404 | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/404.md' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Favicon: | |
needs: Copy_404 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy favicon | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/favicon.ico' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_License: | |
needs: Copy_Favicon | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy LICENSE | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/LICENSE' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Search: | |
needs: Copy_License | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy search.json | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/search.json' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |
Copy_Funding: | |
needs: Copy_Search | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy funding.yml | |
uses: andstor/copycat-action@v3 | |
with: | |
personal_token: ${{ secrets.API_TOKEN_GITHUB }} | |
src_path: '/.github/FUNDING.yml' | |
dst_owner: 'josh-justjosh' | |
dst_repo_name: 'blog' | |
dst_path: '/.github/' | |
email: '41898282+github-actions[bot]@users.noreply.github.com' | |
name: 'github-actions[bot]' | |