Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
FarisZR committed May 24, 2023
1 parent 1ce3ca8 commit c65bb85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
- name: Check for modified files
id: git-check
run: echo "{caddy-out-of-date}={$([ -z "`git status --porcelain`" ] && echo "false" || echo "true"}"
run: echo "caddy-out-of-date=$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")" >> $GITHUB_OUTPUT

check-for-plugin-updates:
runs-on: ubuntu-latest
needs: check-for-new-caddy-release
outputs:
desec: ${{ steps.desec.outputs.desec-out-of-date || steps.caddy-check.outputs.desec-out-of-date }}
cloudflare: ${{ steps.cloudflare.outputs.cloudflare-out-of-date || steps.caddy-check.outputs.cloudflare-out-of-date }}
desec: ${{ steps.desec.outputs.desec-out-of-date || needs.caddy-check.outputs.desec-out-of-date }}
cloudflare: ${{ steps.cloudflare.outputs.cloudflare-out-of-date || needs.caddy-check.outputs.cloudflare-out-of-date }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -48,8 +48,8 @@ jobs:
if: ${{ needs.check-for-new-caddy-release.outputs.caddy == 'true' }}
id: caddy-check
run: |
echo "{desec-out-of-date}={true}" >> $GITHUB_OUTPUT
echo "{cloudflare-out-of-date}={true}" >> $GITHUB_OUTPUT
echo "desec-out-of-date=true" >> $GITHUB_OUTPUT
echo "cloudflare-out-of-date=true" >> $GITHUB_OUTPUT
- name: Pull desec plugin remote commits
if: ${{ needs.check-for-new-caddy-release.outputs.caddy == 'false' }}
Expand Down
4 changes: 2 additions & 2 deletions commit-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ local="$2"
remote="$3"
# if the files match, then it means the build is up-to-date, so no need to rebuild.
if cmp -s "$local" "$remote"; then
echo "{$4}={false}" >> $GITHUB_OUTPUT
echo "$4=false" >> $GITHUB_OUTPUT
else
echo "{$4}={true}" >> $GITHUB_OUTPUT
echo "$4=true" >> $GITHUB_OUTPUT
fi

0 comments on commit c65bb85

Please sign in to comment.