Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeDTomita committed Jul 2, 2024
1 parent a3cbd53 commit ed10250
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/create_zip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: create zip when main branch is pushed
on:
push:
branches:
- main
paths:
- "doc/**"

defaults:
run:
shell: bash

env:
ZIP_NAME: "tool_doc.zip"

jobs:
create_zip:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: clone application source code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: create zip
run: zip -r ${{ env.ZIP_NAME }} doc

- name: create zip
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # 4.3.3
with:
path: ${{ env.ZIP_NAME }}
name: ${{ env.ZIP_NAME }}

0 comments on commit ed10250

Please sign in to comment.