Skip to content

Commit

Permalink
Update image rendering workflow to enable animation and use 'main' br…
Browse files Browse the repository at this point in the history
…anch instead of 'master'
  • Loading branch information
JakubAndrysek committed Apr 11, 2024
1 parent b94511b commit ef2f8f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
animation: gif

- name: Setup Pages
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: actions/configure-pages@v3

- name: Upload Artifact
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v1
with:
path: "images"

deploy-pages:
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: render-images

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

![top](https://roboticsbrno.github.io/Zelvicka/top.png)
![bottom](https://roboticsbrno.github.io/Zelvicka/bottom.png)
![mp4](https://roboticsbrno.github.io/Zelvicka/rotate.mp4)
![gif](https://roboticsbrno.github.io/Zelvicka/rotate.gif)

## elektro
* 1x 18650 ve slotu
Expand Down

0 comments on commit ef2f8f9

Please sign in to comment.