Skip to content

Commit

Permalink
workflows: fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Dec 16, 2023
1 parent 5f9a2ed commit 33741e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Deploy website to dev server

on:
on: # yamllint disable-line rule:truthy
push:
branches-ignore:
- main
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Update nodes count
"run": |
cd branch/$GITHUB_REF_NAME
cd "branch/$GITHUB_REF_NAME"
LASTCHANGE=$(date --iso-8601=seconds)
sed -i "/\"lastchange\":/c\ \"lastchange\":\"$LASTCHANGE\"," static/berlin.json
NODECOUNT=$(curl -s "https://hopglass.berlin.freifunk.net/nodes.json" | jq ".nodes | length")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Deploy website to production server

on:
on: # yamllint disable-line rule:truthy
push:
branches:
- main
Expand Down

0 comments on commit 33741e7

Please sign in to comment.