Update documentation.yml
This commit is contained in:
13
.github/workflows/documentation.yml
vendored
13
.github/workflows/documentation.yml
vendored
@@ -17,6 +17,15 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up git environment
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git config --global user.email "robot@mateijordache.info"
|
||||||
|
git config --global user.name "robot"
|
||||||
|
git fetch
|
||||||
|
git checkout documentation
|
||||||
|
|
||||||
- name: Create output directory
|
- name: Create output directory
|
||||||
run: mkdir -p ${workflow_project_dir}/outputs/gerbers
|
run: mkdir -p ${workflow_project_dir}/outputs/gerbers
|
||||||
|
|
||||||
@@ -52,10 +61,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "robot@mateijordache.info"
|
|
||||||
git config --global user.name "robot"
|
|
||||||
git fetch
|
|
||||||
git checkout documentation
|
|
||||||
git add ${workflow_project_dir}/*.pdf
|
git add ${workflow_project_dir}/*.pdf
|
||||||
git commit -m "Add design file PDFs to repo [skip ci]"
|
git commit -m "Add design file PDFs to repo [skip ci]"
|
||||||
git push origin documentation
|
git push origin documentation
|
||||||
|
|||||||
Reference in New Issue
Block a user