diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 9641e66..4356ad5 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -4,5 +4,29 @@ on: [push] jobs: build: steps: - - run: echo "${{ gitea.sha }}" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - run: ls -lR + - name: Check out repository code + uses: http://47.116.170.60:3300/jeff/checkout@v3 + - run: ls -lR + - name: Use Node.js 1 + uses: http://47.116.170.60:3300/jeff/setup-node@v4 + with: + node-version: '20' + + - run: yarn config get registry + - run: npm config get registry + - run: yarn config set registry http://47.116.170.60:40087 + - run: npm config set registry http://47.116.170.60:40087 + - run: yarn config get registry + - run: npm config get registry + - run: yarn cache clean + - run: ls -lR + - name: Install dependencies + run: yarn + - name: Build Docusaurus website + run: yarn build + - run: ls + - run: docker build -t jeffdoc:${{ gitea.sha }} . + - run: docker stop jeffdoc + - run: docker rm jeffdoc + - run: docker run --name=jeffdoc -d -p 9080:80 jeffdoc:${{ gitea.sha }} \ No newline at end of file diff --git a/blog/2019-05-29-long-blog-post.md b/blog/2019-05-29-long-blog-post.md index 26ffb1b..2818abd 100644 --- a/blog/2019-05-29-long-blog-post.md +++ b/blog/2019-05-29-long-blog-post.md @@ -1,6 +1,6 @@ --- slug: long-blog-post -title: Long Blog Post +title: 123 authors: endi tags: [hello, docusaurus] ---