Compare commits

...

2 commits

Author SHA1 Message Date
asonix 58cf3c50a9 full path for COPY
Some checks failed
/ build-assets (push) Successful in 2m46s
/ publish-docker (push) Has been skipped
/ prepare-suffix (push) Successful in 1s
/ build-containers (map[name:arm64v8 platform:arm64]) (push) Failing after 24s
/ build-containers (map[name:amd64 platform:amd64]) (push) Failing after 25s
2024-02-14 14:35:33 -06:00
asonix db41195127 Fix node key 2024-02-14 14:34:00 -06:00
2 changed files with 2 additions and 9 deletions

View file

@ -65,7 +65,7 @@ jobs:
with:
path: |
node_modules/
key: gem-${{ hashFiles('Gemfile') }}-${{ hashFiles('Gemfile.lock') }}
key: node-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}
-
name: Install node packages
if: steps.node-cache.outputs.cache-hit != 'true'
@ -134,13 +134,6 @@ jobs:
name: GUnzip Assets
run: |
tar -zxf public.tar.gz
-
name: Commit public
run: |
git add public/
git config --global user.email 'build@build.ing'
git config --global user.name 'Build Server'
git commit -m "Add public"
-
name: Prepare Platform
run: |

View file

@ -43,6 +43,6 @@ RUN mkdir -p /opt/mastodon/.config/yarn/global && \
yarn install --pure-lockfile --production --network-timeout=30000
# Copy compiled assets
COPY --chown=${UID}:${GID} pubilc/ public/
COPY --chown=${UID}:${GID} pubilc/ /opt/mastodon/public/
ENTRYPOINT ["/sbin/tini", "--"]