Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Bump core-js from 3.32.2 to 3.33.0 (#230) #132

Bump core-js from 3.32.2 to 3.33.0 (#230)

Bump core-js from 3.32.2 to 3.33.0 (#230) #132

Workflow file for this run

name: continuous deployment
on:
push:
branches:
- main
workflow_dispatch:
jobs:
cd:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node env
uses: actions/setup-node@v3.8.1
with:
node-version: 16
- name: Create .env file
run: |
echo "API_QUERY_URL=${{ vars.API_QUERY_URL }}" > .env
- name: Install dependencies
run: yarn
- name: Generate
run: yarn generate
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/query_tool:latest