Skip to content

Commit

Permalink
update deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
ewangler committed Oct 11, 2024
1 parent 0678b36 commit f73898e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 16.x
- run: yarn install
- run: yarn build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: build-cache
path: ./build
Expand All @@ -32,11 +32,11 @@ jobs:
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: build-cache
path: ./build
- uses: peaceiris/actions-gh-pages@v3
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
2 changes: 1 addition & 1 deletion src/pages/CompletionPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// import styled from '@emotion/styled'
import React from 'react'
import { Helmet } from 'react-helmet'
import { A, Box, Infobox, MainContainer, Ul } from '../App'
import { Box, Infobox, MainContainer, Ul } from '../App'
import { useTranslation } from 'react-i18next'
import {
Link,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/digitalisation/NewDigitalisationProjectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const defaultState = (): State => ({ currentSlide: 'projectPhase', clippyVariant
const defaultReplies = (): Reply[] => ([])

export default function NewDigitalisationProjectPage() {
const [state, setState] = useState<State>(defaultState)
const [state] = useState<State>(defaultState)
const [replies, setReplies] = useState<Reply[]>(defaultReplies)
const { t } = useTranslation()
const [currentQuestion, setCurrentQuestion] = useState<number>(() => {
Expand Down

0 comments on commit f73898e

Please sign in to comment.