Compare commits
2 commits
69bdf2f8aa
...
58cf3c50a9
Author | SHA1 | Date | |
---|---|---|---|
asonix | 58cf3c50a9 | ||
asonix | db41195127 |
|
@ -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: |
|
||||
|
|
|
@ -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", "--"]
|
||||
|
|
Loading…
Reference in a new issue