Skip to content

Commit

Permalink
some tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
aziis98 committed Nov 3, 2024
1 parent 97bced0 commit dc39916
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/deploy-poisson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,11 @@ jobs:
with:
node-version: '23'

- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list

- name: Install dependencies
run: npm install

- name: Build
run: npm run build:poisson

- name: Deploy
run: rsync -e 'ssh -i ~/.ssh/id_ed25519_github' -avz out/ delucreziis@poisson.phc.dm.unipi.it:public_html/
run: rsync -e 'ssh -i ~/.ssh/id_ed25519_github' -cavz out/ delucreziis@poisson.phc.dm.unipi.it:public_html/
2 changes: 0 additions & 2 deletions src/pages/art/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const stripPrefix = (s, prefix) => (s.startsWith(prefix) ? s.slice(prefix.length
const basename = s => s.split('/').pop()
const procreateArtImages = (await Astro.glob('../../../public/data/art/procreate/*.jpg')).map(({ default: p }) => basename(p))
console.log(procreateArtImages)
---

<BaseLayout
Expand Down

0 comments on commit dc39916

Please sign in to comment.