Skip to content

chore(workflow): update [email protected] (#1457) #9

chore(workflow): update [email protected] (#1457)

chore(workflow): update [email protected] (#1457) #9

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Deploy Staging Site
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
ref: master
- uses: actions/setup-node@v6
with:
node-version: 24.x
# v1.278.0
- uses: ruby/setup-ruby@4c24fa5ec04b2e79eb40571b1cee2a0d2b705771
with:
ruby-version: 2.7
bundler-cache: true
- name: Run npm install-ci-test (cit)
run: npm install-ci-test
- name: Run build
run: npm run build:prod
# v4.8.0
- name: Run deploy
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f
with:
branch: asf-staging
folder: build-prod
clean-exclude: |
archive