Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vokymir committed May 11, 2024
1 parent e3340d8 commit fd8b8de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/main.yml → .github/workflows/copyJS.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push files to website
name: Push JS to website
on:
push:
branches:
Expand All @@ -16,16 +16,4 @@ jobs:
with:
pushToBranch: true # optional; can either be true or false | defaults to false
branch: 'website' # optional; the name of the branch the action should push the compiled code to | defaults to dist
githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option
copy-html-and-css:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Copy To Branches Action
uses: planetoftheweb/copy-to-branches@v1.2
env:
key: main
branches: website
files: index.html Css/index.css
githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option
18 changes: 18 additions & 0 deletions .github/workflows/copyOther.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Push HTML and CSS to website
on:
push:
branches:
- main
jobs:
copy-to-branches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Copy To Branches Action
uses: planetoftheweb/copy-to-branches@v1.2
env:
key: main
branches: website
files: index.html Css/index.css

0 comments on commit fd8b8de

Please sign in to comment.