Skip to content

Commit 962b11b

Browse files
committed
checkout main
1 parent cc95cf2 commit 962b11b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/deploy_web_site.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,16 @@ jobs:
3939
uses: actions/checkout@v4
4040
with:
4141
repository: linjonh/TechBlog
42-
baranch: main
42+
branch: main
4343
fetch-depth: 1
4444
path: TechBlog
4545
- name: List checked out files
46-
run: ls -alh TechBlog || echo "TechBlog not found"
46+
run: |
47+
ls -alh TechBlog || echo "TechBlog not found"
48+
cd TechBlog
49+
git branch -a
50+
checkout branch main
51+
ls -alh
4752
#build
4853
- name: Set up Ruby
4954
uses: ruby/setup-ruby@v1
@@ -56,6 +61,8 @@ jobs:
5661
pwd
5762
ls -lh
5863
cd TechBlog
64+
git branch -a
65+
checkout branch main
5966
gem install bundler
6067
bundle install --jobs 4 --retry 3
6168
- run: bundle exec jekyll build -d "_site" --trace

0 commit comments

Comments
 (0)