Skip to content

Commit

Permalink
fix img 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AgataBialoskorska committed Mar 14, 2024
1 parent b350905 commit dcf9593
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 31 deletions.
64 changes: 33 additions & 31 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
name: Build and Deploy

on:
push:
branches:
- master
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '21'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Copy assets
run: cp -R src/components/img dist/assets/img

- name: Deploy
# https://github.com/JamesIves/github-pages-deploy-action
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '21'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Copy assets
run: |
mkdir -p dist/assets/img
cp -R src/components/img/* dist/assets/img
- name: Deploy
# https://github.com/JamesIves/github-pages-deploy-action
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
Binary file removed dist/assets/img/s0.jpg
Binary file not shown.
Binary file removed dist/assets/img/s1.jpg
Binary file not shown.
Binary file removed dist/assets/img/s2.jpg
Binary file not shown.
Binary file removed dist/assets/img/s3.jpg
Binary file not shown.
Binary file removed dist/assets/img/s4.jpg
Binary file not shown.
Binary file removed dist/assets/img/s5.jpg
Binary file not shown.
Binary file removed dist/assets/img/s6.jpg
Binary file not shown.
Binary file removed dist/assets/img/s7.jpg
Binary file not shown.
Binary file removed dist/assets/img/s8.jpg
Binary file not shown.
Binary file removed dist/assets/img/s9.jpg
Binary file not shown.

0 comments on commit dcf9593

Please sign in to comment.