Skip to content

Commit

Permalink
Fix CD (#159)
Browse files Browse the repository at this point in the history
* Fix CD

* Fix Multiline

* Fix CD
  • Loading branch information
gyusang authored Dec 16, 2024
1 parent bf9cd09 commit f6afdf4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Remove test code
run: rm -rf Assets/Scripts/Tests
rm Assets/Scripts/*.asmdef{,.meta}

- name: Copy Other Pages Files
run: |
mkdir -p build/WebGL/WebGL
cp -r Pages/* build/WebGL/WebGL/
- name: Build Unity Project
uses: game-ci/unity-builder@v4
with:
Expand All @@ -56,8 +58,6 @@ jobs:
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
- name: Copy Other Pages Files
run: cp -r Pages/* build/WebGL/WebGL/
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -77,7 +77,6 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

steps:
# 1. Pages artifact 배포
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit f6afdf4

Please sign in to comment.