Update cache-build.yml
This commit is contained in:
@@ -1,37 +1,49 @@
|
|||||||
- name: Update version.json
|
name: Update version.json
|
||||||
run: |
|
on:
|
||||||
mkdir -p public # public klasörünü oluşturuyoruz
|
push:
|
||||||
echo '{
|
branches:
|
||||||
"index.html": "v1",
|
- main # Ana branch üzerinde değişiklik olduğunda tetiklenir
|
||||||
"home_en.html": "v2",
|
jobs:
|
||||||
"home_tr.html": "v2",
|
update-version:
|
||||||
"404.html": "v1",
|
runs-on: ubuntu-latest
|
||||||
"CSS/unpkg.comswiper@8swiper-bundle.min.css": "v1",
|
steps:
|
||||||
"FONTS/Inconsolata.woff2": "v1",
|
- name: Checkout repository
|
||||||
"FONTS/Jaro.woff2": "v1",
|
uses: actions/checkout@v2
|
||||||
"FONTS/Monomakh.woff2": "v1",
|
|
||||||
"FONTS/Montserrat.woff2": "v1",
|
- name: Update version.json
|
||||||
"FONTS/TacOne.woff2": "v1",
|
run: |
|
||||||
"FONTS/Teko.woff2": "v1",
|
mkdir -p public # public klasörünü oluşturuyoruz
|
||||||
"JAVASCRIPT/1.js": "v3",
|
echo '{
|
||||||
"JAVASCRIPT/tr/1.js": "v1",
|
"index.html": "v1",
|
||||||
"JAVASCRIPT/darkmode-js.min.js": "v1",
|
"home_en.html": "v6",
|
||||||
"JAVASCRIPT/gsap.min.js": "v1",
|
"home_tr.html": "v4",
|
||||||
"JAVASCRIPT/swiper-bundle.min.js": "v1",
|
"404.html": "v1",
|
||||||
"img/profile_photo1.webp": "v1",
|
"CSS/unpkg.comswiper@8swiper-bundle.min.css": "v1",
|
||||||
"img/character1.webp": "v2",
|
"FONTS/Inconsolata.woff2": "v1",
|
||||||
"img/character2.webp": "v1",
|
"FONTS/Jaro.woff2": "v1",
|
||||||
"img/character3.webp": "v1",
|
"FONTS/Monomakh.woff2": "v1",
|
||||||
"img/ai.webp": "v1",
|
"FONTS/Montserrat.woff2": "v1",
|
||||||
"img/app.webp": "v1",
|
"FONTS/TacOne.woff2": "v1",
|
||||||
"img/cyber.webp": "v1",
|
"FONTS/Teko.woff2": "v1",
|
||||||
"img/game.webp": "v1",
|
"JAVASCRIPT/1.js": "v3",
|
||||||
"img/robotic.webp": "v1",
|
"JAVASCRIPT/tr/1.js": "v1",
|
||||||
"img/web.webp": "v1",
|
"JAVASCRIPT/darkmode-js.min.js": "v1",
|
||||||
"img/up.webp": "v1",
|
"JAVASCRIPT/gsap.min.js": "v1",
|
||||||
"img/icon.ico": "v1",
|
"JAVASCRIPT/swiper-bundle.min.js": "v1",
|
||||||
"sitemap.xml": "v1",
|
"img/profile_photo1.webp": "v1",
|
||||||
"manifest.json": "v1",
|
"img/character1.webp": "v2",
|
||||||
"robots.txt": "v1",
|
"img/character2.webp": "v1",
|
||||||
".htaccess.txt": "v1"
|
"img/character3.webp": "v1",
|
||||||
}' > public/version.json # Versiyon bilgilerini public/ dizinine yazıyoruz
|
"img/ai.webp": "v1",
|
||||||
|
"img/app.webp": "v1",
|
||||||
|
"img/cyber.webp": "v1",
|
||||||
|
"img/game.webp": "v1",
|
||||||
|
"img/robotic.webp": "v1",
|
||||||
|
"img/web.webp": "v1",
|
||||||
|
"img/up.webp": "v1",
|
||||||
|
"img/icon.ico": "v1",
|
||||||
|
"sitemap.xml": "v1",
|
||||||
|
"manifest.json": "v1",
|
||||||
|
"robots.txt": "v1",
|
||||||
|
".htaccess.txt": "v1"
|
||||||
|
}' > public/version.json # Versiyon bilgilerini public/ dizinine yazıyoruz
|
||||||
|
|||||||
Reference in New Issue
Block a user