Skip to content

Commit

Permalink
Merge pull request #235 from wiseweb-works/develop
Browse files Browse the repository at this point in the history
CNAME dosyası eklendi. Workflow güncellendi.
  • Loading branch information
GokturkTalha authored Dec 15, 2024
2 parents 07a84ba + cadbd35 commit f84d64c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/publish_pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages with Dynamic CNAME
name: Deploy to GitHub Pages with Static CNAME

on:
push:
Expand Down Expand Up @@ -29,15 +29,6 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5

# Dal bazında CNAME dosyasını oluştur
- name: Create CNAME file
run: |
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "guvendekal.org" > CNAME
elif [[ "${{ github.ref }}" == "refs/heads/develop" ]]; then
echo "dev.guvendekal.org" > CNAME
fi
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -406,3 +406,5 @@ extensions.json
terminals.json
package.json
package-lock.json

CNAME
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dev.guvendekal.org

0 comments on commit f84d64c

Please sign in to comment.