Skip to content

Commit 71f783f

Browse files
committed
Fix workflow YML violations and typos.
1 parent d53ed19 commit 71f783f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
push:
1010
branches:
1111
- main
12-
- cleanup/ci # @TODO: Remove this before merging to main
1312
pull_request:
1413
branches: [ main ]
1514

@@ -20,14 +19,17 @@ concurrency:
2019
cancel-in-progress: true
2120

2221
jobs:
23-
# @TODO: Instead of building the docker image here, take a pre-build image and mount the code (only build when the Dockerfile changes)
22+
# @TODO: Instead of building the docker image here, take a pre-build image and mount the code
23+
# (only build when the Dockerfile changes)
2424
build-docker-nextcloud:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- name: Creat docker tag from git reference
27+
- name: Create docker tag from git reference
2828
# A tag name may only contain lower- and uppercase letters, digits, underscores, periods and dashes.
2929
run: |
30-
echo "TAG=$(echo -n "${{ github.ref_name }}" | tr --complement --squeeze-repeats '[:alnum:]._-' '_')" >> "${GITHUB_ENV}"
30+
echo "TAG=$(echo -n "${{ github.ref_name }}" \
31+
| tr --complement --squeeze-repeats '[:alnum:]._-' '_')" \
32+
>> "${GITHUB_ENV}"
3133
3234
- uses: actions/cache@v3
3335
id: cache-solid-nextcloud-docker
@@ -68,10 +70,12 @@ jobs:
6870
runs-on: ubuntu-latest
6971

7072
steps:
71-
- name: Creat docker tag from git reference
73+
- name: Create docker tag from git reference
7274
# A tag name may only contain lower- and uppercase letters, digits, underscores, periods and dashes.
7375
run: |
74-
echo "TAG=$(echo -n "${{ github.ref_name }}" | tr --complement --squeeze-repeats '[:alnum:]._-' '_')" >> "${GITHUB_ENV}"
76+
echo "TAG=$(echo -n "${{ github.ref_name }}" \
77+
| tr --complement --squeeze-repeats '[:alnum:]._-' '_')" \
78+
>> "${GITHUB_ENV}"
7579
7680
- uses: actions/checkout@v3
7781

0 commit comments

Comments
 (0)